package com.hefeng.wx.controller;


import com.hefeng.common.core.web.domain.AjaxResult;
import com.hefeng.wx.controller.entity.ParamEntity;
import com.hefeng.wx.domain.WxOrderDispositionResult;
import com.hefeng.wx.service.WxOrderDispositionResultService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Slf4j
@RestController
@RequestMapping("/wx/result")
@Api(tags="工单状态")
public class WxOrderDispositionResultController {
    @Autowired
    private WxOrderDispositionResultService wxOrderDispositionResultService;

    @RequestMapping(value = "/getDeviceList",produces = "application/json;charset=UTF-8")
    public AjaxResult getDeviceList( @RequestBody WxOrderDispositionResult wxOrderDispositionResult){

        return AjaxResult.success(wxOrderDispositionResultService.queryById(wxOrderDispositionResult));
    }
}
